/**
 * 页面UV
 * url 上报地址，
 * key 页面标示
 * num 次数
 */
function upload_info(url, key, num) {
    if (url === "" || url === undefined) {
        const baseUrl = window.location.protocol + "//" + window.location.host + "/videourl/photowall/access/info";
        url = baseUrl + "?url=" + url + "&key=" + key + "&num=" + num;
    }

    //获取页面路径
    let pageUrl = window.location.href;
    let data = {
        "pageUrl": pageUrl,
        "key": key
    };
    $.post(url, data, function (res) {
        if (res.code !== "200") {
            console.error("上报访问数据异常...");
        }
    }, 'json');
}
